import { PageDot } from '@/dto/page.dto'

export class CreateDictDto {
  dictType: string
  systemFlag: string
  description?: string
  remarks?: string
}

export class UpdateDictDto {
  id: number
  systemFlag: string
  description?: string
  remarks?: string
}

export class QueryDictDto extends PageDot {
  description?: string
}

export class CreateDictItemDto {
  dictType: string
  dictId: string
  label: string
  value: string
  description?: string
  remarks?: string
  sortOrder?: string
}

export class UpdateDictItemDto extends CreateDictItemDto {
  id: number
}

export class QueryDictItemDto extends PageDot {
  dictId?: string
}
